<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix='fmt' uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>文献详细信息</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/timeago.js"></script>
	<style type="text/css">
		#xuexiao{
			color:#555;
		}
		#xuexiao:hover{
			color:#3a87ad;
		}
	</style>
</head>
<body >
		<%@include file="include/topbar.jsp" %>
		
		<div class="container" style="margin-top: 60px">
			<div class="row">
			<jsp:include page="include/left.jsp" >
				<jsp:param value="wenxian" name="tag"/>
			</jsp:include>
				
			
			<div class="span9" style="min-height:500px">
				<div class="breadcrumb" style="border-radius:3px 3px 0 0;margin-bottom:0px;">
        				<h4 style="display:inline"><i class="icon-file"></i>文献详细信息</h4>
        				<span class="pull-right">
        					<a href="qikan.jspx?m=detail&&qid=${wenxian.t_qikan_id }" >${wenxian.qikan_name }</a>&nbsp;<i class="icon-arrow-right"></i>
        					<a href="type.jspx?m=detail&&tid=${wenxian.t_type_id }" >${wenxian.type_name }</a>
        				</span>
        				
        				
        				
     			</div>
     			<div class="wall" style="padding:20px;min-height:200px">
     				<div class="page-header" style="margin-top:0px">
					<h3>${wenxian.name }<small class="pull-right">文献上传于： <abbr class="timeago" title="${wenxian.createtime}">${wenxian.createtime}</abbr></small></h3>
				  	</div>
				  	<div class="wall" style="padding:0px 50px;border:0px">
				  	
				  	
				  	
        			<h4 style="display:inline">作者: </h4>${wenxian.author }<br/>
        			
        			<h4 style="display:inline">类型: </h4>${wenxian.type }
        			<c:if test="${wenxian.type eq 'pdf' }"><img src="img/pdf.png"  width="24px"/></c:if>
        			<c:if test="${wenxian.type eq 'doc' }"><img src="img/doc.png"  width="24px"/></c:if>
        			<c:if test="${wenxian.type eq 'zip' }"><img src="img/rar.png"  width="24px"/></c:if>
        			<c:if test="${wenxian.type eq 'wpl' }"><img src="img/pic.png"  width="24px"/></c:if>
        			<br/>
        			<h4 style="display:inline">大小: </h4>
        			<c:if test="${wenxian.size/1024/1024 >1 }"><fmt:formatNumber value="${wenxian.size/1024/1024 }" type="number" pattern="#.##" /> Mb</c:if>
          			<c:if test="${wenxian.size/1024/1024 <1 }"><fmt:formatNumber value="${wenxian.size/1024 }" type="number" pattern="#.##" /> Kb</c:if>
        			<br/>
        			<h4 style="display:inline">分类: </h4>${wenxian.t_type_id }<br/>
        			<h4 style="display:inline">编号: </h4>${wenxian.id }<br/>
        			
        			
        			<h4>摘要: </h4>
        			<p style="font-size:14px;text-indent:2em">${wenxian.desc }</p>
        			<h4 style="display:inline">关键字: </h4>${wenxian.keyword }<br/><br/>
        			<a href="download.jspx?dname=${wenxian.downname }" class="btn btn-primary" style="font-weight:bold"><i class="icon-download-alt icon-white"></i>下载此文献</a>
     				</div>
					
     			</div>
     			
			</div>	
			
			
			</div>
			</div>
			<%@include file="include/footer.jsp" %>
			
				<script type="text/javascript">
					$(function() {
						$("abbr.timeago").timeago();
					});
		
		
	</script>							
											
											
	
</body>
</html>